﻿define([
        "dojo/_base/declare",
        "epi/cms/contentediting/editors/ContentAreaEditor",
        "./contentAreaValidator"
    ],
    function (
        declare,
        _ContentAreaEditor,
        _ContentAreaValidator
    ) {

        return declare("ow.epi.extendedContentAreaEditor.formEditingWidget", [_ContentAreaEditor, _ContentAreaValidator], {

            postMixInProperties: function () {
                this.inherited(arguments);
            },

             postCreate: function() {
                 this.inherited(arguments);
             },

             _checkAcceptance: function (source, nodes) {
                if (this.isValidDndType(source, nodes)) {
                    return this.inherited(arguments);
                }
                return false;
            }
            
        });
    });